<template>
  <h1>商品列表</h1>
</template>

<script>
export default {
    data(){
        return {
            // 查询参数对象
            queryInfo: {
                query: '',
                pagenum: 1,
                pagesize: 10
            },
            // 商品列表
            goodslist: [],
        }
    },
    async created(){
       let ret = await this.http.get('goods', { params: this.queryInfo})
       console.log( ret );
    }
}
</script>

<style>

</style>